package com.aisi.manager.service;

import com.aisi.model.dto.system.SysRoleDto;
import com.aisi.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * @Author: shenjianZ
 * @Date: 2024/2/17 10:51
 * @Description:
 */


public interface SysRoleService {

    PageInfo<SysRole> findSysRoleByPage(Integer current, Integer limit, SysRoleDto sysRoleDto);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteSysRoleById(Long id);

    Map<String, Object> findAllSysRoles(Long userId);
}
